package org.builder.service;

import java.io.InputStream;

import org.xml.sax.InputSource;

public interface UnmarshallService {

	public Object unmarshall(byte[] xml,Class _class) throws Exception;
	
	public Object unmarshall(String xml,Class _class) throws Exception;
	
	public Object unmarshall(InputStream inputStream,Class _class) throws Exception;
	
	public Object unmarshall(InputSource inputSource,Class _class) throws Exception;
}
